##
## $Id: Makefile.am,v 1.4 2009/11/09 14:25:28 joel Exp $
##

MANAGERS = all

rtems_tests_PROGRAMS = sp43
sp43_SOURCES = init.c

dist_rtems_tests_DATA = sp43.scn
dist_rtems_tests_DATA += sp43.doc

include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am
include $(top_srcdir)/../automake/leaf.am

sp43_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)

AM_CPPFLAGS += -I$(top_srcdir)/../support/include

LINK_OBJS = $(sp43_OBJECTS) $(sp43_LDADD)
LINK_LIBS = $(sp43_LDLIBS)

sp43$(EXEEXT): $(sp43_OBJECTS) $(sp43_DEPENDENCIES)
	@rm -f sp43$(EXEEXT)
	$(make-exe)

include $(top_srcdir)/../automake/local.am
